package cn.tedu.dao.persist.repositoy;

import cn.tedu.pojo.entity.UserDetails;
import cn.tedu.pojo.vo.UserDetailsVO;

public interface IUserDetailsRepository {

    int insert(UserDetails userDetails);

    UserDetailsVO getStandard(Long userId);

    int updateById(UserDetails userDetails);

    int countByPhoneAndNotId(String phone, Long userId);

    int countByEmailAndNotId(String email, Long userId);
}
